package com.sky.volunteer.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sky.common.annotation.Excel;
import com.sky.common.core.domain.BaseEntity;

/**
 * 志愿者信息对象 tb_volunteer
 * 
 * @author ruoyi
 * @date 2025-11-08
 */
public class TbVolunteer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 活动ID */
    @Excel(name = "活动ID")
    private Long activityId;

    /** 志愿者姓名 */
    @Excel(name = "志愿者姓名")
    private String volunteerName;

    /** 性别 0未知 1男 2女 */
    @Excel(name = "性别 0未知 1男 2女")
    private Long gender;

    /** 年龄 */
    @Excel(name = "年龄")
    private Long age;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idCard;

    /** 累计服务时长(小时) */
    @Excel(name = "累计服务时长(小时)")
    private Long volunteerHours;

    /** 参与活动次数 */
    @Excel(name = "参与活动次数")
    private Long participationCount;

    /** 状态 0禁用 1正常 */
    @Excel(name = "状态 0禁用 1正常")
    private Long status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setActivityId(Long activityId) 
    {
        this.activityId = activityId;
    }

    public Long getActivityId() 
    {
        return activityId;
    }

    public void setVolunteerName(String volunteerName) 
    {
        this.volunteerName = volunteerName;
    }

    public String getVolunteerName() 
    {
        return volunteerName;
    }

    public void setGender(Long gender) 
    {
        this.gender = gender;
    }

    public Long getGender() 
    {
        return gender;
    }

    public void setAge(Long age) 
    {
        this.age = age;
    }

    public Long getAge() 
    {
        return age;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }

    public void setIdCard(String idCard) 
    {
        this.idCard = idCard;
    }

    public String getIdCard() 
    {
        return idCard;
    }

    public void setVolunteerHours(Long volunteerHours) 
    {
        this.volunteerHours = volunteerHours;
    }

    public Long getVolunteerHours() 
    {
        return volunteerHours;
    }

    public void setParticipationCount(Long participationCount) 
    {
        this.participationCount = participationCount;
    }

    public Long getParticipationCount() 
    {
        return participationCount;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("activityId", getActivityId())
            .append("volunteerName", getVolunteerName())
            .append("gender", getGender())
            .append("age", getAge())
            .append("phone", getPhone())
            .append("email", getEmail())
            .append("idCard", getIdCard())
            .append("volunteerHours", getVolunteerHours())
            .append("participationCount", getParticipationCount())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
